<div el-row class="el-form el-form--label-left">
  <div el-row>
    <div el-col span="12" class="el-form-item">
      <label class="el-form-item__label">设备编号</label>
      <div class="el-form-item__content"><span>{{ device.id}}</span></div>
    </div>
    <div el-col span="12" class="el-form-item">
      <label class="el-form-item__label">设备名称</label>
      <div class="el-form-item__content"><span>{{ device.name }}</span></div>
    </div>
  </div>

  <div el-row class="el-form-item">
    <label class="el-form-item__label">平台编号</label>
    <div class="el-form-item__content"><span>{{ device.appId}}</span></div>
  </div>
  <div el-row>
    <el-table class="props-container" [model]="device.properties" [scroll-x]="true" center="all">
      <el-table-column model-key="code" label="属性编码"></el-table-column>
      <el-table-column model-key="name" label="属性名称"></el-table-column>
      <el-table-column model-key="value" label="值"></el-table-column>
    </el-table>
  </div>


</div>

<div el-row class="div-notify">
  <div el-row gutter="20">
    <div el-col span="20">
      <el-input type="textarea" [(model)]="message"></el-input>
    </div>
    <div el-col span="4">
      <el-button type="primary" (click)="doPublish()">推送数据</el-button>
    </div>
  </div>
  <div el-row></div>
</div>

<div el-row class="div-console">
  <el-input type="textarea" [autosize]="{minRows: 5, maxRows: 10}" [model]="result" elDisabled="true"></el-input>
</div>
